export const renderTablePage = function (object = {}) {
  // @ts-ignore
  const { total = 0, current = 1, pageSize = 10 } = object;
  return reactive({
    total,
    current,
    pageSize,
    showTotal: (total: any) => `${$t("base.total")}${total}${$t("base.items")}`,
    showQuickJumper: true,
    showLessItems: true,
  });
};
